package com.yaoyao.HelloWorld;

import java.util.Scanner;

public class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello World1!!!");
        System.out.println("Hello World2!!!");
        int c = 10;
        int d = 5;
        int res = c++ + ++c - --d - ++d + 1 + c--;
        System.out.println(res);
        System.out.println(c);
        System.out.println(d);
        System.out.println("--------------------");
        double a = 10;
        double b = 5.2;
        a += b;
        System.out.println(a);
        System.out.println("--------------------");
//        Scanner sc = new Scanner(System.in);
//        System.out.println("请输入您的年龄");
//        int age = sc.nextInt();
//        System.out.println("请输入您的存款");
//        double money = sc.nextDouble();
//        System.out.println("请输入您的姓名");
//        String name = sc.next();
//        System.out.println("欢迎" + name + age + money + "进入系统~~");
        int sum = 0;
        for (int i = 0; i <= 100; i++) {
            sum += i;
        }
        System.out.println(sum);
        int multi = 1;
        for (int j = 1; j <= 10; j++) {
            multi *= j;
        }
        System.out.println(multi);
    }
}
